# Makefile.in
# ----------------------------------------------
# Author : Woo-Hyun Kim
# E-mail : woorung@nhncorp.com or woorung@gmail.com
# Date : May 16, 2006

# profile
include ../../../etc/profile.mk

# ids to librarize
compact_id = $(cid)
allinone_id = coord

# wooh
#-----------------------------------------------------------------------
wooh_inc = -I$(WNI)
wooh_lib = -L$(WNL) -lwooh -lz -lmagic -lpthread -ldl
#-----------------------------------------------------------------------

# coord
#-----------------------------------------------------------------------
coord_inc = -I$(WNI)
coord_lib = -L$(WNL) -lcoord -lz -lmagic -lpthread
#-----------------------------------------------------------------------

# gsoap
#-----------------------------------------------------------------------
gsoap_path = $(WNXL)/gsoap
gsoap_inc = -I$(gsoap_path)/include
gsoap_lib = -L$(gsoap_path)/lib -lgsoap++
#-----------------------------------------------------------------------

# third-party libraries
cls_3rd_incs = $(gsoap_inc) $(wooh_inc) $(coord_inc)
cls_3rd_libs = $(gsoap_lib) $(wooh_lib) $(coord_lib)
app_3rd_incs = $(cls_3rd_incs)
app_3rd_libs = $(wooh_lib) $(coord_lib)

# requisites
requisites =

# incs & libs for swig
python_inc = -I/usr/include/python2.3 -I/usr/lib/python2.3/config
python_lib = 
php_inc = `php-config --includes`
php_lib = `php-config --libs`

# swig
SWIG=$(WNXL)/swig/bin/swig
#swig_modules = $(cls_objs:%.o=%)
#swig_modules = Coord
swig_lang = php5
swig_incs = $(php_inc)
swig_libs = $(php_lib)
#swig_lang = python
#swig_incs = $(python_inc)
#swig_libs = $(python_lib)
